-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reports include line and column number, if available #141
Conversation
Codecov Report
@@ Coverage Diff @@
## main #141 +/- ##
==========================================
+ Coverage 96.41% 96.82% +0.41%
==========================================
Files 2 4 +2
Lines 446 504 +58
==========================================
+ Hits 430 488 +58
Misses 16 16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! And I never used that approach to wrap the errors. Will take a better look later to learn/remember it for a future project. Great idea 👍
Approving pending only CI to pass.
(disabled auto-merge because didn't know if you were going to merge this one first, or merge Dennis' PR first 👍, now 🛌 ) |
74dcc47
to
ea8fc21
Compare
This looks cool. So essentially anywhere I am raising an error, I should use this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will love to make use of it.
Yes, and also where some other code might generate an exception related to a specific miniWDL object: |
Loved it! Tested the workflow from #77
Opened workflow in IDE, exact line & column reported in the error. Thanks heaps!! |
Fixes #129